package com.example.project.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.example.project.annotation.Excel;
import com.example.project.core.domain.BaseEntity;

/**
 * 跟踪类型对象 t_trackers
 * 
 * @author ruoyi
 * @date 2025-09-19
 */
public class Tracker extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/** 跟踪类型ID，主键 */
	private Long id;

	/** 跟踪类型名称 */
	@Excel(name = "类型名称")
	private String name;

	/** 是否显示在变更日志中 */
	@Excel(name = "是否显示在变更日志中")
	private Integer isInChlog;
	
	/**
	 * 图标
	 */
	private String icon;
	
	private Long delFlag;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setIsInChlog(Integer isInChlog) {
		this.isInChlog = isInChlog;
	}

	public Integer getIsInChlog() {
		return isInChlog;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public Long getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Long delFlag) {
		this.delFlag = delFlag;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("name", getName())
				.append("isInChlog", getIsInChlog()).toString();
	}
}
